.TH std::error_condition::assign 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::error_condition::assign \- std::error_condition::assign

.SH Synopsis
   void assign( int val, const error_category& cat ) noexcept;  \fI(since C++11)\fP

   Assigns contents to an error condition. Sets the error value to val and error
   category to cat.

.SH Parameters

   val - error value
   cat - error category

.SH Return value

   \fI(none)\fP
